package com.ruoyi.yang.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 class_comment
 * 
 * @author ruoyi
 * @date 2024-04-13
 */
public class ClassComment extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 选课表 */
    private Long id;

    /** 课程id */
    @Excel(name = "课程id")
    private Long classId;

    /** 课程名 */
    @Excel(name = "课程名")
    private String className;

    /** 课程类型 */
    @Excel(name = "课程类型")
    private String classType;

    /** 教师名称 */
    @Excel(name = "教师名称")
    private String classTea;

    /** 选课人id */
    @Excel(name = "选课人id")
    private Long stuId;

    /** 选课人名称 */
    @Excel(name = "选课人名称")
    private String stuName;

    /** 课程评论 */
    @Excel(name = "课程评论")
    private String classComment;

    /** 课程打分 */
    @Excel(name = "课程打分")
    private Long classFraction;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setClassId(Long classId) 
    {
        this.classId = classId;
    }

    public Long getClassId() 
    {
        return classId;
    }
    public void setClassName(String className) 
    {
        this.className = className;
    }

    public String getClassName() 
    {
        return className;
    }
    public void setClassType(String classType) 
    {
        this.classType = classType;
    }

    public String getClassType() 
    {
        return classType;
    }
    public void setClassTea(String classTea) 
    {
        this.classTea = classTea;
    }

    public String getClassTea() 
    {
        return classTea;
    }
    public void setStuId(Long stuId) 
    {
        this.stuId = stuId;
    }

    public Long getStuId() 
    {
        return stuId;
    }
    public void setStuName(String stuName) 
    {
        this.stuName = stuName;
    }

    public String getStuName() 
    {
        return stuName;
    }
    public void setClassComment(String classComment) 
    {
        this.classComment = classComment;
    }

    public String getClassComment() 
    {
        return classComment;
    }
    public void setClassFraction(Long classFraction) 
    {
        this.classFraction = classFraction;
    }

    public Long getClassFraction() 
    {
        return classFraction;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("classId", getClassId())
            .append("className", getClassName())
            .append("classType", getClassType())
            .append("classTea", getClassTea())
            .append("stuId", getStuId())
            .append("stuName", getStuName())
            .append("classComment", getClassComment())
            .append("classFraction", getClassFraction())
            .toString();
    }
}
